import {
    createRouter,
    createWebHistory
} from 'vue-router'
<<<<<<< HEAD
import de from './details-router/mainrouter.js'
const routes = [
    ...de,
=======
const routes = [{
        path: '/z-house',
        name: "z-house",
        component: () => import('../views/more/house.vue'),
        children: [{
            path: '/z-house/zmy-one',
            name: 'home',
            component: () => import('../views/more/morespoint.vue')
        }]
    }, {
        path: '/account',
        name: "account",
        component: () => import('../components/account.vue')
    }, {
        path: '/safe',
        name: "safe",
        component: () => import('../components/safe.vue')
    },
>>>>>>> 6e42b29a98f19839fd58721777dd887519c89956
]
const router = createRouter({
    history: createWebHistory(),
    routes
})

<<<<<<< HEAD
=======
router.beforeResolve((to, from, next) => {
    next()
})

router.afterEach((to, from) => {
    next()
})
>>>>>>> 6e42b29a98f19839fd58721777dd887519c89956

export default router